package ctrip.utils

import scala.util.Random

/**
 * 工具类
 * Created by gongenbo on 2017/5/23.
 */
object Utils {
  def GetRandom(): Int ={
    Random.nextInt(5);
  }
  def main(args: Array[String]) {
    println("random:"+GetRandom())
    var cMap: Map[String, String] =Map()
    cMap+=("hehe"->"111")
    println(cMap.getOrElse("hehe":String,default=0))
  }
}
